package com.nice.nice201110.utils;

import java.util.HashMap;
import java.util.Map;

public class NiceEnum {
    /**
     *  信息标码
     * */
    public static final String code_100 = "100";    //操作失败
    public static final String code_101 = "101";    //操作失败（log插入失败）
    public static final String code_102 = "102";    //查询数据出现异常!
    public static final String code_200 = "200";    //成功
    public static final String code_300 = "300";    //用户查询失败

    public static Map<String,String> NiceMap;
    static{
        NiceMap = new HashMap<String,String>();
        NiceMap.put(code_100,"操作失败");
        NiceMap.put(code_101,"操作失败（log插入失败）");
        NiceMap.put(code_102,"查询数据出现异常!");
        NiceMap.put(code_200,"操作成功");
        NiceMap.put(code_300,"用户有问题，重新登陆!");
    }

    /**
     * 出库明细（账单流水）
     * */
    public static final String del_liushui = "流水";    //流水
    public static final String del_chuku = "出库";    //出库
    public static final String del_use_yao = "用药";    //疾病及用药处理

}